package com.fh.shop.api.book.biz;

import com.fh.shop.api.book.param.BookQueryParam;
import com.fh.shop.api.book.po.Book;
import com.fh.shop.api.common.DataTableResult;
import com.fh.shop.api.common.ServerResponse;

public interface IBookService {
    //增加
    ServerResponse addBook(Book book);
    //查询
    ServerResponse bookList();
    //删除
    ServerResponse deleteBook(Long id);
    //批量删除
    ServerResponse deleteBatch(String ids);
    //回显
    ServerResponse findBook(Long id);
    //修改
    ServerResponse updateBook(Book book);
    //条件查询
    DataTableResult findList(BookQueryParam bookQueryParam);
}
